<template>
  <div id="app">
    <router-view/>
    <tabbar :tabbarList="tabbarList" v-show="this.$route.meta.isShowTabbar" class="tabbar"/>
  </div>
</template>

<script>
import tabbar from "./components/tabbar/Tabbar"
export default {
    components:{
      tabbar
    },
    data(){
      return {
        tabbarList:[
          {"name":"首页","path":"/","iconfont":"iconfont icon-icon_home"},
          {"name":"分类","path":"/classfiy","iconfont":"iconfont icon-leimupinleifenleileibie"},
          {"name":"购物车","path":"/cart","iconfont":"iconfont icon-buy-car"},
          {"name":"个人","path":"/user","iconfont":"iconfont icon-wode"}
        ]
      }
    }
}
</script>

<style scoped>
.tabbar{
  background-color: #fff;
}
</style>
